home *** CD-ROM | disk | FTP | other *** search
/ MPEG Toolkit / MPEG Toolkit.iso / os2 / pmmpg21a / install.cmd < prev    next >
OS/2 REXX Batch file  |  1997-01-01  |  422b  |  12 lines

  1. /* Code    */
  2. call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
  3. call SysLoadFuncs
  4. /* '@echo off' */
  5. PMMPEGPATH = DIRECTORY()
  6. if SysCreateObject("WPProgram","PMMPEG","<WP_DESKTOP>",,
  7.                    "PROGTYPE=PM;EXENAME="PMMPEGPATH"\PMMPEG.EXE;STARTUPDIR="PMMPEGPATH";ASSOCFILTER=*.MPG")
  8. then
  9.     say 'PMMPEG Object installed on Desktop'
  10. else
  11.     say 'PMMPEG couldn''t install object on the Desktop'
  12.